<template>
    <div class="view_contain">
        <div class="view_1">
            <Head></Head>
        </div>
        <div class="view_2">
            <Menu></Menu>
        </div>
    </div>
</template>

<script>
import Head from "./component/Head.vue";
import Menu from "./component/Menu.vue";
import request from "../../utils/request";

export default {
    name: "index",
    components: {Menu, Head},
  data() {
  },
  onPullDownRefresh(){
    uni.$emit('isRefreshOnHead',true)
    setTimeout(function() {
      uni.stopPullDownRefresh()
    }, 1000);
  },
  methods:{

  }

}
</script>

<style scoped>

.view_contain {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.view_1 {
    width: 100%;
    height: 40%;
    background-color: #13ce11;
}

.view_2 {
    width: 100%;
    height: 60%;

}
</style>